let users = 'users';

export let setItem = (data) => {
    sessionStorage.setItem(users, JSON.stringify(data))
}

export let getItem = () => {
    return JSON.parse(sessionStorage.getItem(users))
}

export let removeItem = () => {
    sessionStorage.removeItem(users)
}